package xfuzzy.alg_genetico.indeterminado.test;

import java.io.File;

import xfuzzy.alg_genetico.indeterminado.model.MyXfhlProcess;
import xfuzzy.xfghl.model.XfghlConfig;
import xfuzzy.xfhl.model.spec.XfhlInputType;
import xfuzzy.xfhl.model.spec.XfhlOperSet;

public class GeneradorConfiguraciones6 {

	public static void main(String [] args)  {
		
 		File fileDataSet = new File ("/home/max/workspace/xfuzzy/examples/regression/fun6/fun6.dat");
		//File fileDataSet = new File("fun6.dat");
 		String fuzzysystem = "noname_000.xfl";
 		String nameSystem = fuzzysystem;
	    int numIterAjus = 40;
 		//int numIterAjus = 1;
	    int numThreads = 1;

	    double iniUpd = 0.1;
	    double incFact = 1.5;
	    double decFact = 0.7;
	    int mfs = 3;
	    int operatorAND = XfhlOperSet.AndOperatorMin;
	    int defuzzOperator = XfhlOperSet.DefuzOperatorFuzzyMean;
	    int IN_TYPE = XfhlInputType.FREE_TRIANGLES;
	    int AlgSelected = 0;
       
        XfghlConfig xfhlConfig = new XfghlConfig(nameSystem, numIterAjus, numThreads, fileDataSet, iniUpd, incFact, decFact, operatorAND, defuzzOperator, IN_TYPE, mfs, AlgSelected);
        
        MyXfhlProcess myxfhlProcess = new MyXfhlProcess(xfhlConfig);
        myxfhlProcess.ejecucion();
	}
}
